package com.zly.mybatisdemo.dao;

import com.zly.mybatisdemo.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> findAllUser();

    int addUser(User user);

    int login(User user);
}
